﻿
namespace AuthorizedNavigation.Client.Services
{
    public sealed class AuthorizationResult
    {
        private readonly string _errorMessage;

        public static readonly AuthorizationResult Allowed;

        public AuthorizationResult(string errorMessage)
        {
            this._errorMessage = errorMessage;
        }

        public string ErrorMessage
        {
            get
            {
                return this._errorMessage;
            }
        }
    }
}
